package core.actions;

import java.awt.Point;

import core.*;
import core.units.ArtilleryBuggy;
import core.units.Unit;


public class SpawnArtilleryBuggy extends Action {
	
	public SpawnArtilleryBuggy(){
		super();
		name="Spawn_buggy";
		imageName="iconLightTank1.png";
		nameChar='b';
		energyCost=200;
		value=250;
	}
	
	public void execute(){
		//Player master = PlayerIdHandler.getPlayer(masterId);
		main.units.add(new ArtilleryBuggy(CustomUtil.pointOffset(master.getSpawnPoint(), 50), master));
	}
}
